
/*---------------------------------------------------------------------------------------------
 *  Copyright (c) Microsoft Corporation. All rights reserved.
 *  Licensed under the MIT License. See License.txt in the project root for license information.
 *--------------------------------------------------------------------------------------------*/

.aide-rich-block {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.aide-rich-item {
	padding-inline: 10px;
	padding-block: 8px;
	border-radius: 3px;
	display: flex;
	flex-direction: column;
	gap: 6px;
	background-color: var(--vscode-editorPane-background);
	cursor: pointer;
}

.aide-rich-item .aide-rich-item-header {
	display: flex;
	align-items: start;
	gap: 8px;
	justify-content: space-between;
	position: relative;
}

.aide-rich-item.stale {
	opacity: 0.6;
}

.aide-rich-item .aide-rich-item-header .aide-rich-item-heading {
	display: flex;
	align-items: start;
	gap: 8px;
}

.aide-rich-item .aide-rich-item-header .aide-rich-item-heading .aide-rich-item-icon {
	flex-shrink: 0;
	margin-block: 3px;
}

.aide-rich-item .aide-rich-item-header .aide-rich-item-heading .aide-rich-item-title {
	font-size: 13px;
	line-height: 19.5px;
	font-weight: 400;
	margin-block: 1px;
	cursor: text;
}
/*
.aide-rich-item .aide-rich-item-header .aide-rich-item-actions {
	position: absolute;
	right: 0;
	top: 0;
	opacity: 0;
}

.aide-rich-item:is(.focused, :hover) .aide-rich-item-header .aide-rich-item-actions {
	opacity: 1;
}

.aide-rich-item .aide-rich-item-header .aide-rich-item-actions-preview {
	display: flex;
	align-items: start;
	color: var(--vscode-list-deemphasizedForeground);
}

.aide-rich-item:is(.focused, :hover) .aide-rich-item-header .aide-rich-item-actions-preview {
	opacity: 0;
}

.aide-rich-item .aide-rich-item-header .aide-rich-item-actions-preview .preview-label {
	margin-block: 1px;
	margin-right: 2px;
}

.aide-rich-item .aide-rich-item-header .aide-rich-item-actions-preview .action-label {
	display: flex;
	align-items: center;
	width: 16px;
	height: 16px;
	padding: 3px;
	color: inherit;
}*/

.aide-rich-item-description {
	color: var(--vscode-editorLineNumber-foreground);
	cursor: text;
}

.aide-rich-item-description.rendered-markdown p:is(:first-child, :last-child) {
	margin-block: 0;
}
